/* pages/user/manager/choose.wxss */
@import "basse";

page {
  background: #f0f0f0;
  padding-top: 45px;
}

.fitter_bar {
  height: 45px;
  position: fixed;
  top: 0;
  width: 750rpx;
  left: 0;
  background: $app-white-color;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: $normal-font;
  border-bottom: solid 1rpx $border-color;
  justify-content: center;
  .fitter_item {
    flex: 1;
    height: 44px;
    border-right: solid 1px $border-color;
    overflow: hidden;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-direction: row;

    &:active {
      background: darken($app-white-color, 10%);
    }
    .icon-arrow {
      transition: transform 300ms;
    }
    .up {
      transform: rotate(-90deg);
    }
    .down {
      transform: rotate(90deg);
    }
  }
}

.popup-window {
  overflow: auto;
  background: #ffffff;
  height: 0;
  position: fixed;
  top: 45px;
  z-index: 1000;
  width: 750rpx;
  left: 0;
  display: flex;
  flex-direction: row;
  transition: height 200ms;
  &.open {
    height: 400rpx;
  }
  .left {
    height: 400rpx;
    flex: 1;
    border-right: solid 1px $border-color;
    .menu-item {
      height: 80rpx;
      line-height: 80rpx;
      font-size: $normal-font;
      color: $app-text-color;
      text-align: center;
      border-left-width: 4rpx;
      border-left-color: transparent;
      border-left-style: solid;
      &.active {
        border-color: $app-color;
        color: $app-color;
      }
      &:active {
        background: darken($app-white-color, 10%);
      }
    }
  }
  .right {
    flex: 1.5;
    height: 400rpx;
    .menu-item {
      padding-left: 10px;
      padding-right: 10px;
      text-align: left;
      height: 80rpx;
      line-height: 80rpx;
      font-size: $normal-font;
      color: $app-text-color;
      border-left-width: 4rpx;
      border-left-color: transparent;
      border-left-style: solid;
      display: flex;
      align-items: center;
      justify-content: center;
      .ic-right {
        font-size: 16px;
        color: $app-color;
        margin-right: 10px;
      }
      &.active {
        color: $app-color;
      }
      &:active {
        background: darken($app-white-color, 10%);
      }
    }
  }

}

.popup-window-gz {
  overflow: auto;
  background: #ffffff;
  height: 0;
  z-index: 1000;
  position: fixed;
  top: 45px;
  width: 750rpx;
  left: 0;
  display: flex;
  flex-direction: column;
  transition: height 200ms;
  &.open {
    height:240rpx;
  }
  &.star {
    &.open {
      height: 324rpx;
    }
  }
  &.sell-num {
    &.open {
      height: 162rpx;
    }
  }
  &.time {
    &.open {
      height: 243rpx;
    }
  }
  .menu-item {
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
    height: 80rpx;
    flex: 1;
    border-bottom: solid 1rpx $border-color;
    line-height: 80rpx;

    font-size: $normal-font;
    color: $app-text-color;
    border-left-width: 4rpx;
    border-left-color: transparent;
    border-left-style: solid;
    display: flex;
    align-items: center;
    justify-content: center;
    .ic-right {
      font-size: 16px;
      color: $app-color;
      margin-right: 10px;
    }
    &.active {
      color: $app-color;
    }
    &:active {
      background: darken($app-white-color, 10%);
    }
  }
}

.user-item {

  margin: 10rpx;
  box-shadow: $border-color 2px 2px 2px;
  background: $app-white-color;
  display: flex;
  flex-direction: row;
  padding:20rpx;
  align-items: center;
  .avatar {

    width: 100rpx;
    height: 100rpx;
    margin-right: 20rpx;
    border-radius: 50rpx;
  }
  .info {
    flex: 1;
    font-size: $small-font;
    color: $app-lighter_text-color;
    .icon-xing {
      color: $orange-color;
    }
    .service_tags {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      margin-top: 20rpx;
      .tag {
        padding: 10rpx 20rpx;
        background: $blue-color;
        color: $app-white-color;
        font-size: $small-font;
        text-align: center;
        margin-right: 10rpx;
        margin-bottom: 10rpx;
      }
    }
  }
  .right-action {
    margin-left: 20rpx;

    .btn {
      width:120rpx;
      height: 48rpx;
      text-align: center;
      line-height: 48rpx;
      font-size: $small-font;
      color: $app-white-color;
      background: $app-color;
    }
  }
}
.mask {
  background: rgba(0, 0, 0, 0.53);
  z-index: 1000;
 position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

}
.price-panel {
  z-index: 1001;
  height: 200rpx;
  position: fixed;
  bottom: -200rpx;
  left: 0;
  width: 710rpx;
  padding: 20rpx;
  transition: bottom 500ms;
  background: $app-white-color;
  &.open {
    bottom: 0;
  }
  .input {
    height: 88rpx;
    line-height: 88rpx;
    font-size: $normal-font;
    color: $app-text-color;
  }
  .btn-submit {
    height: 88rpx;
    line-height: 88rpx;
    color: $app-white-color;
    background: $app-color;
    &:active {
     background:  darken($app-color,10%)
    }

  }
}